package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.util.List;

/**
 * 药剂器械出库管理--出库管理
 */

@TableName("t_out")
public class OutBean {
    @TableId(value = "pk_outId",type = IdType.AUTO)
    private int outId;
    /*** 出库时间 */
    @TableField("f_outTime")
    private LocalDate outTime = LocalDate.now();
    /*** 领用小班 */
    @TableField("f_outClass")
    private String outClass;

    /***  领用人 */
   @TableField("f_outMan")
   private String outMan;

//   明细实体

    @TableField(exist = false)
    private List<MeOutBean> meOutBeanList;
    public OutBean() {
    }

    public OutBean(String outClass, String outMan) {
        this.outClass = outClass;
        this.outMan = outMan;
    }

    public int getOutId() {
        return outId;
    }

    public void setOutId(int outId) {
        this.outId = outId;
    }

    public LocalDate getOutTime() {
        return outTime;
    }

    public void setOutTime(LocalDate outTime) {
        this.outTime = outTime;
    }

    public String getOutClass() {
        return outClass;
    }

    public void setOutClass(String outClass) {
        this.outClass = outClass;
    }

    public String getOutMan() {
        return outMan;
    }

    public void setOutMan(String outMan) {
        this.outMan = outMan;
    }

    public List<MeOutBean> getMeOutBeanList() {
        return meOutBeanList;
    }

    public void setMeOutBeanList(List<MeOutBean> meOutBeanList) {
        this.meOutBeanList = meOutBeanList;
    }

    @Override
    public String toString() {
        return "OutBean{" +
                "outId=" + outId +
                ", outTime=" + outTime +
                ", outClass='" + outClass + '\'' +
                ", outMan='" + outMan + '\'' +
                ", meOutBeanList=" + meOutBeanList +
                '}';
    }
}
